<input name="province_id" type="hidden" value="<?php echo $address->province_id;?>"/>
<input name="province_name" type="hidden" value="<?php echo $address->province_name;?>"/>
<input name="city_id" type="hidden" value="<?php echo $address->city_id;?>"/>
<input name="city_name" type="hidden" value="<?php echo $address->city_name;?>"/>
<input name="district_id" type="hidden" value="<?php echo $address->district_id;?>"/>
<input name="district_name" type="hidden" value="<?php echo $address->district_name;?>"/>
<input name="address_id" type="hidden" value="<?php echo $address->address_id;?>"/>
<div class="am-form-group">
    <label class="am-form-label">联系人</label>
    <div class="text">
    	<input type="text"  name="receiver_name" value="<?php echo $address->receiver_name;?>" />
    </div>
</div>
<div class="am-form-group">
    <label class="am-form-label">联系电话</label>
    <div class="text">
    	<input type="text"  name="tel" value="<?php echo $address->tel;?>"/>
    </div>
</div>
<div class="am-form-group">
    <label class="am-form-label">邮政编码</label>
    <div class="text">
    	<input type="text"  name="code"  value="<?php echo $address->code;?>"/>
    </div>
</div>
<div class="am-form-group">
    <label class="am-form-label">选择地址</label>
    <div class="text doc-area new-area">
    	<?php echo $address->province_name.$address->city_name.$address->district_name;?>
    	<i class="iconfont ico-right icon-youjiantou"></i>
	</div>
</div>
<div class="am-form-group">
    <label class="am-form-label">详细地址</label>
    <div class="text">
    	<input type="text" name="detailed"  value="<?php echo $address->detailed;?>"/>
    </div>
</div>
<div class="am-form-group">
  	<label class="set-default-address am-cf">
  		<div class="am-check">
  		    <input type="hidden" name="is_default" class="is_default" value="<?php echo $address->is_default;?>"/>
	        <span class="check-wrapper <?php if($address->is_default==2):?>active<?php endif;?>"></span>
	    </div>
        <div class="set">设为默认地址</div>
    </label>
</div>
<p><button type="submit" class="am-btn am-btn-block save-btn">保存</button></p>
<p><button type="button" class="am-btn am-btn-block del-btn del" address-id="<?php echo $address->address_id;?>">删除收货地址</button></p>
